package com.spark.modules.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.spark.common.core.entity.system.SysUser;

/**
 * 系统用户Mapper
 *
 * @author LYCHEE
 * @date 2025/02/18 09:12
 */
public interface SysUserMapper extends BaseMapper<SysUser> {

    /**
     * 通过用户名查询用户
     * @param username 用户名
     * @return 用户信息
     */
    SysUser getUserByUsername(String username);
}
